package com.teamall.web.fpgz.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeVillageTeamMemberArg {
    private String pk_name = "id";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeVillageTeamMemberCriteria> oredCriteria;

    public CodeVillageTeamMemberArg() {
        oredCriteria = new ArrayList<CodeVillageTeamMemberCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeVillageTeamMemberCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeVillageTeamMemberCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeVillageTeamMemberCriteria or() {
    	CodeVillageTeamMemberCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeVillageTeamMemberCriteria createCriteria() {
    	CodeVillageTeamMemberCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeVillageTeamMemberCriteria createCriteriaInternal() {
    	CodeVillageTeamMemberCriteria criteria = new CodeVillageTeamMemberCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeVillageTeamMemberCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeVillageTeamMemberCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeVillageTeamMemberCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeVillageTeamMemberCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeVillageTeamMemberCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeVillageTeamMemberCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeVillageTeamMemberCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeVillageTeamMemberCriterion(condition, value1, value2));
        }

        public CodeVillageTeamMemberCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andTownIdIsNull() {
            addCriterion("town_id is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdIsNotNull() {
            addCriterion("town_id is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdEqualTo(Integer value) {
            addCriterion("town_id =", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("town_id <>", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("town_id >", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("town_id >=", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdLessThan(Integer value) {
            addCriterion("town_id <", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("town_id <=", value, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdLeftLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdRightLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdIn(List<Integer> values) {
            addCriterion("town_id  in ", values, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("town_id not in ", values, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("town_id between ", value1, value2, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("town_id not between ", value1, value2, "town_id");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andVillageIdIsNull() {
            addCriterion("village_id is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdIsNotNull() {
            addCriterion("village_id is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("village_id =", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("village_id <>", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("village_id >", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("village_id >=", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdLessThan(Integer value) {
            addCriterion("village_id <", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("village_id <=", value, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdRightLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("village_id  in ", values, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("village_id not in ", values, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("village_id between ", value1, value2, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("village_id not between ", value1, value2, "village_id");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andVillageCodeIsNull() {
            addCriterion("village_code is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeIsNotNull() {
            addCriterion("village_code is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeEqualTo(String value) {
            addCriterion("village_code =", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotEqualTo(String value) {
            addCriterion("village_code <>", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeGreaterThan(String value) {
            addCriterion("village_code >", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("village_code >=", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeLessThan(String value) {
            addCriterion("village_code <", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeLessThanOrEqualTo(String value) {
            addCriterion("village_code <=", value, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeLike(String value) {
            addCriterion("village_code like ", value, "village_code", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeLeftLike(String value) {
            addCriterion("village_code like ", value, "village_code", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotLeftLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeRightLike(String value) {
            addCriterion("village_code like ", value, "village_code", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotRightLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeIn(List<String> values) {
            addCriterion("village_code  in ", values, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotIn(List<String> values) {
            addCriterion("village_code not in ", values, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeBetween(String value1, String value2) {
            addCriterion("village_code between ", value1, value2, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageCodeNotBetween(String value1, String value2) {
            addCriterion("village_code not between ", value1, value2, "village_code");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andVillageNameIsNull() {
            addCriterion("village_name is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameIsNotNull() {
            addCriterion("village_name is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameEqualTo(String value) {
            addCriterion("village_name =", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("village_name <>", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameGreaterThan(String value) {
            addCriterion("village_name >", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("village_name >=", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameLessThan(String value) {
            addCriterion("village_name <", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("village_name <=", value, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameLike(String value) {
            addCriterion("village_name like ", value, "village_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameLeftLike(String value) {
            addCriterion("village_name like ", value, "village_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameRightLike(String value) {
            addCriterion("village_name like ", value, "village_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotRightLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameIn(List<String> values) {
            addCriterion("village_name  in ", values, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("village_name not in ", values, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("village_name between ", value1, value2, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("village_name not between ", value1, value2, "village_name");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andAidTeamIdIsNull() {
            addCriterion("aid_team_id is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdIsNotNull() {
            addCriterion("aid_team_id is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdEqualTo(Integer value) {
            addCriterion("aid_team_id =", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotEqualTo(Integer value) {
            addCriterion("aid_team_id <>", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdGreaterThan(Integer value) {
            addCriterion("aid_team_id >", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid_team_id >=", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdLessThan(Integer value) {
            addCriterion("aid_team_id <", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdLessThanOrEqualTo(Integer value) {
            addCriterion("aid_team_id <=", value, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdLike(Integer value) {
            addCriterion("aid_team_id like ", value, "aid_team_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotLike(Integer value) {
            addCriterion("aid_team_id  not like ", value, "aid_team_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdLeftLike(Integer value) {
            addCriterion("aid_team_id like ", value, "aid_team_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotLeftLike(Integer value) {
            addCriterion("aid_team_id  not like ", value, "aid_team_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdRightLike(Integer value) {
            addCriterion("aid_team_id like ", value, "aid_team_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotRightLike(Integer value) {
            addCriterion("aid_team_id  not like ", value, "aid_team_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdIn(List<Integer> values) {
            addCriterion("aid_team_id  in ", values, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotIn(List<Integer> values) {
            addCriterion("aid_team_id not in ", values, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdBetween(Integer value1, Integer value2) {
            addCriterion("aid_team_id between ", value1, value2, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aid_team_id not between ", value1, value2, "aid_team_id");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andAidTeamNameIsNull() {
            addCriterion("aid_team_name is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameIsNotNull() {
            addCriterion("aid_team_name is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameEqualTo(String value) {
            addCriterion("aid_team_name =", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotEqualTo(String value) {
            addCriterion("aid_team_name <>", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameGreaterThan(String value) {
            addCriterion("aid_team_name >", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameGreaterThanOrEqualTo(String value) {
            addCriterion("aid_team_name >=", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameLessThan(String value) {
            addCriterion("aid_team_name <", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameLessThanOrEqualTo(String value) {
            addCriterion("aid_team_name <=", value, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameLike(String value) {
            addCriterion("aid_team_name like ", value, "aid_team_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotLike(String value) {
            addCriterion("aid_team_name  not like ", value, "aid_team_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameLeftLike(String value) {
            addCriterion("aid_team_name like ", value, "aid_team_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotLeftLike(String value) {
            addCriterion("aid_team_name  not like ", value, "aid_team_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameRightLike(String value) {
            addCriterion("aid_team_name like ", value, "aid_team_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotRightLike(String value) {
            addCriterion("aid_team_name  not like ", value, "aid_team_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameIn(List<String> values) {
            addCriterion("aid_team_name  in ", values, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotIn(List<String> values) {
            addCriterion("aid_team_name not in ", values, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameBetween(String value1, String value2) {
            addCriterion("aid_team_name between ", value1, value2, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andAidTeamNameNotBetween(String value1, String value2) {
            addCriterion("aid_team_name not between ", value1, value2, "aid_team_name");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andMemberTypeIsNull() {
            addCriterion("member_type is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeIsNotNull() {
            addCriterion("member_type is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeEqualTo(Integer value) {
            addCriterion("member_type =", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotEqualTo(Integer value) {
            addCriterion("member_type <>", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeGreaterThan(Integer value) {
            addCriterion("member_type >", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_type >=", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeLessThan(Integer value) {
            addCriterion("member_type <", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeLessThanOrEqualTo(Integer value) {
            addCriterion("member_type <=", value, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeLeftLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotLeftLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeRightLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotRightLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeIn(List<Integer> values) {
            addCriterion("member_type  in ", values, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotIn(List<Integer> values) {
            addCriterion("member_type not in ", values, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeBetween(Integer value1, Integer value2) {
            addCriterion("member_type between ", value1, value2, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andMemberTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("member_type not between ", value1, value2, "member_type");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andDataNameIsNull() {
            addCriterion("data_name is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameIsNotNull() {
            addCriterion("data_name is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameEqualTo(String value) {
            addCriterion("data_name =", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotEqualTo(String value) {
            addCriterion("data_name <>", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameGreaterThan(String value) {
            addCriterion("data_name >", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameGreaterThanOrEqualTo(String value) {
            addCriterion("data_name >=", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameLessThan(String value) {
            addCriterion("data_name <", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameLessThanOrEqualTo(String value) {
            addCriterion("data_name <=", value, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameLike(String value) {
            addCriterion("data_name like ", value, "data_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotLike(String value) {
            addCriterion("data_name  not like ", value, "data_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameLeftLike(String value) {
            addCriterion("data_name like ", value, "data_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotLeftLike(String value) {
            addCriterion("data_name  not like ", value, "data_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameRightLike(String value) {
            addCriterion("data_name like ", value, "data_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotRightLike(String value) {
            addCriterion("data_name  not like ", value, "data_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameIn(List<String> values) {
            addCriterion("data_name  in ", values, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotIn(List<String> values) {
            addCriterion("data_name not in ", values, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameBetween(String value1, String value2) {
            addCriterion("data_name between ", value1, value2, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andDataNameNotBetween(String value1, String value2) {
            addCriterion("data_name not between ", value1, value2, "data_name");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andStaffIdIsNull() {
            addCriterion("staff_id is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdIsNotNull() {
            addCriterion("staff_id is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdEqualTo(Integer value) {
            addCriterion("staff_id =", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotEqualTo(Integer value) {
            addCriterion("staff_id <>", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdGreaterThan(Integer value) {
            addCriterion("staff_id >", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_id >=", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdLessThan(Integer value) {
            addCriterion("staff_id <", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("staff_id <=", value, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdLike(Integer value) {
            addCriterion("staff_id like ", value, "staff_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotLike(Integer value) {
            addCriterion("staff_id  not like ", value, "staff_id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdLeftLike(Integer value) {
            addCriterion("staff_id like ", value, "staff_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotLeftLike(Integer value) {
            addCriterion("staff_id  not like ", value, "staff_id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdRightLike(Integer value) {
            addCriterion("staff_id like ", value, "staff_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotRightLike(Integer value) {
            addCriterion("staff_id  not like ", value, "staff_id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdIn(List<Integer> values) {
            addCriterion("staff_id  in ", values, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotIn(List<Integer> values) {
            addCriterion("staff_id not in ", values, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("staff_id between ", value1, value2, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_id not between ", value1, value2, "staff_id");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andStaffNameIsNull() {
            addCriterion("staff_name is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameIsNotNull() {
            addCriterion("staff_name is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameEqualTo(String value) {
            addCriterion("staff_name =", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotEqualTo(String value) {
            addCriterion("staff_name <>", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameGreaterThan(String value) {
            addCriterion("staff_name >", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("staff_name >=", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameLessThan(String value) {
            addCriterion("staff_name <", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameLessThanOrEqualTo(String value) {
            addCriterion("staff_name <=", value, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameLike(String value) {
            addCriterion("staff_name like ", value, "staff_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotLike(String value) {
            addCriterion("staff_name  not like ", value, "staff_name", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameLeftLike(String value) {
            addCriterion("staff_name like ", value, "staff_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotLeftLike(String value) {
            addCriterion("staff_name  not like ", value, "staff_name", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameRightLike(String value) {
            addCriterion("staff_name like ", value, "staff_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotRightLike(String value) {
            addCriterion("staff_name  not like ", value, "staff_name", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameIn(List<String> values) {
            addCriterion("staff_name  in ", values, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotIn(List<String> values) {
            addCriterion("staff_name not in ", values, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameBetween(String value1, String value2) {
            addCriterion("staff_name between ", value1, value2, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andStaffNameNotBetween(String value1, String value2) {
            addCriterion("staff_name not between ", value1, value2, "staff_name");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andTelIsNull() {
            addCriterion("tel is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelIsNotNull() {
            addCriterion("tel is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelEqualTo(String value) {
            addCriterion("tel =", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotEqualTo(String value) {
            addCriterion("tel <>", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelGreaterThan(String value) {
            addCriterion("tel >", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("tel >=", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelLessThan(String value) {
            addCriterion("tel <", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelLessThanOrEqualTo(String value) {
            addCriterion("tel <=", value, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelLike(String value) {
            addCriterion("tel like ", value, "tel", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotLike(String value) {
            addCriterion("tel  not like ", value, "tel", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelLeftLike(String value) {
            addCriterion("tel like ", value, "tel", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotLeftLike(String value) {
            addCriterion("tel  not like ", value, "tel", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelRightLike(String value) {
            addCriterion("tel like ", value, "tel", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotRightLike(String value) {
            addCriterion("tel  not like ", value, "tel", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelIn(List<String> values) {
            addCriterion("tel  in ", values, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotIn(List<String> values) {
            addCriterion("tel not in ", values, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelBetween(String value1, String value2) {
            addCriterion("tel between ", value1, value2, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andTelNotBetween(String value1, String value2) {
            addCriterion("tel not between ", value1, value2, "tel");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andJobTitleIsNull() {
            addCriterion("job_title is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleIsNotNull() {
            addCriterion("job_title is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleEqualTo(String value) {
            addCriterion("job_title =", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotEqualTo(String value) {
            addCriterion("job_title <>", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleGreaterThan(String value) {
            addCriterion("job_title >", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleGreaterThanOrEqualTo(String value) {
            addCriterion("job_title >=", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleLessThan(String value) {
            addCriterion("job_title <", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleLessThanOrEqualTo(String value) {
            addCriterion("job_title <=", value, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleLike(String value) {
            addCriterion("job_title like ", value, "job_title", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotLike(String value) {
            addCriterion("job_title  not like ", value, "job_title", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleLeftLike(String value) {
            addCriterion("job_title like ", value, "job_title", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotLeftLike(String value) {
            addCriterion("job_title  not like ", value, "job_title", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleRightLike(String value) {
            addCriterion("job_title like ", value, "job_title", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotRightLike(String value) {
            addCriterion("job_title  not like ", value, "job_title", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleIn(List<String> values) {
            addCriterion("job_title  in ", values, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotIn(List<String> values) {
            addCriterion("job_title not in ", values, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleBetween(String value1, String value2) {
            addCriterion("job_title between ", value1, value2, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andJobTitleNotBetween(String value1, String value2) {
            addCriterion("job_title not between ", value1, value2, "job_title");
            return (CodeVillageTeamMemberCriteria) this;
        }
        public CodeVillageTeamMemberCriteria andIdIsNull() {
            addCriterion("id is null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdLike(Integer value) {
            addCriterion("id like ", value, "id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotLike(Integer value) {
            addCriterion("id  not like ", value, "id", 1);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdLeftLike(Integer value) {
            addCriterion("id like ", value, "id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotLeftLike(Integer value) {
            addCriterion("id  not like ", value, "id", 0);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdRightLike(Integer value) {
            addCriterion("id like ", value, "id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotRightLike(Integer value) {
            addCriterion("id  not like ", value, "id", 2);
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdIn(List<Integer> values) {
            addCriterion("id  in ", values, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in ", values, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between ", value1, value2, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

        public CodeVillageTeamMemberCriteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between ", value1, value2, "id");
            return (CodeVillageTeamMemberCriteria) this;
        }

    }

    public static class CodeVillageTeamMemberCriteria extends GeneratedCriteria {

        protected CodeVillageTeamMemberCriteria() {
            super();
        }
    }

    public static class CodeVillageTeamMemberCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeVillageTeamMemberCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeVillageTeamMemberCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeVillageTeamMemberCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeVillageTeamMemberCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeVillageTeamMemberCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeVillageTeamMemberCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}